package com.culturalCenter.dataCenter.service.user;

import com.culturalCenter.dataCenter.entity.user.UserPointIncrease;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserPointIncreaseService {

    /**
     * UserPointIncrease分页查询
     *
     * @param page
     * @param size
     *
     * @return
     */
    PageInfo<UserPointIncrease> findPage(int page, int size);

    /**
     * 删除UserPointIncrease
     *
     * @param id
     */
    Integer delete(String id);

    /**
     * 修改UserPointIncrease数据
     *
     * @param userPointIncrease
     */
    Integer update(UserPointIncrease userPointIncrease);

    /**
     * 新增UserPointIncrease
     *
     * @param userPointIncrease
     */
    Integer add(UserPointIncrease userPointIncrease);

    /**
     * 根据ID查询UserPointIncrease
     *
     * @param id
     *
     * @return
     */
    UserPointIncrease findById(String id);

    /**
     * 查询所有UserPointIncrease
     *
     * @return
     */
    List<UserPointIncrease> findAll(UserPointIncrease userPointIncrease);

}
